/*css reset*/
@font-face {
  font-family: "Hiragino Sans GB W3";
  src: url('../font/Hiragino Sans GB W3.otf'),
  url('../font/Hiragino Sans GB W3.otf'); /* IE9+ */
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  border: 0;
  //font-size: 100%;
  //font: inherit;
  vertical-align: baseline;
  margin: 0;
  padding: 0
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before,*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, menu, nav, section {
  display: block
}
body {
  line-height: 1
}
ol, ul {
  list-style: none
}
blockquote, q {
  quotes: none
}
blockquote:before, blockquote:after, q:before, q:after {
  content: none
}
table {
  border-collapse: collapse;
  border-spacing: 0
}
/*css reset*/
/*font*/
@font-face {
  font-family: "iconfont";
  src: url('../font/iconfont.eot?t=1480406313290'); /* IE9*/
  src: url('../font/iconfont.eot?t=1480406313290#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../font/iconfont.woff?t=1480406313290') format('woff'), /* chrome, firefox */ url('../font/iconfont.ttf?t=1480406313290') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ url('../font/iconfont.svg?t=1480406313290#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}
.icon-bijiben:before {
  content: "\e602";
}
.icon-xitongguanli:before {
  content: "\e600";
}
.icon-chevron-down:before {
  content: "\e606";
}
.icon-chevron-right:before {
  content: "\e608";
}
.icon-chevron-left:before {
  content: "\e60a";
}
.icon-cogs3:before {
  content: "\e604";
}
.icon-msnui-ban:before {
  content: "\e6bb";
}
.icon-diannao:before {
  content: "\e607";
}
.icon-youxian:before {
  content: "\e603";
}
.icon-guanbi:before {
  content: "\e672";
}
.icon-sousuo:before {
  content: "\e6d7";
}
.icon-shouji:before {
  content: "\e62a";
}
.icon-mima:before {
  content: "\e692";
}
.icon-shanchu:before {
  content: "\e61c";
}
.icon-tianjia:before {
  content: "\e628";
}
.icon-icontianjia01:before {
  content: "\e680";
}
.icon-mianfeiyouxianshangwang:before {
  content: "\e6a7";
}
.icon-tishi:before {
  content: "\e620";
}
.icon-iconfontchajian:before {
  content: "\e63e";
}
.icon-wifi:before {
  content: "\e60e";
}
.icon-zhinengluyouqi:before {
  content: "\e62d";
}
.icon-usertouxiang:before {
  content: "\e704";
}
.icon-zuiyou:before {
  content: "\e60b";
}
.icon-zuizuo:before {
  content: "\e60c";
}
.icon-heimingdan:before {
  content: "\e6f3";
}
.icon-sheweimoban:before {
  content: "\e60f";
}
.icon-count-copy:before {
  content: "\e601";
}
.icon-fangzi:before {
  content: "\e627";
}
.icon-touxiang:before {
  content: "\e687";
}
.icon-bianji:before {
  content: "\e61f";
}
.icon-xiangqing:before {
  content: "\e61b";
}
.icon-wangluo:before {
  content: "\e62e";
}
.icon-peizhiwukuang:before {
  content: "\e6ad";
}
.icon-renqun:before {
  content: "\e65a";
}
.icon-daochu:before {
  content: "\e61e";
}
.icon-xiangqing1:before {
  content: "\e67c";
}
.icon-queren:before {
  content: "\e621";
}
.icon-huojian:before {
  content: "\e617";
}
.icon-suo:before {
  content: "\e65b";
}
.icon-xin:before {
  content: "\e609";
}
.icon-xiasanjiao-copy:before {
  content: "\e60d";
}
.icon-suo1:before {
  content: "\e774";
}
.icon-fangke:before {
  content: "\e61d";
}
.icon-yaochi:before {
  content: "\e65c";
}
.icon-xiugaitouxiang:before {
  content: "\e605";
}
.icon-canyin2:before {
  content: "\e669";
}
.icon-xia:before {
  content: "\e694";
}
.icon-kaiguan-open:before {
  content: "\e63a";
}
/*font*/
/*base*/
html {
  font-family: "Hiragino Sans GB W3",Microsoft Yahei;
  font-size: 16px;
}
body {
  min-width: 1349px;
}
body.home-page{
  background-color: #ff945d;
}
input,button{
  font-family: "Hiragino Sans GB W3",Microsoft Yahei;
}
img {
  border: 0;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: " ";
}
.clearfix:after {
  clear: both;
}
.hidden{
  display: none!important;
}
a {
  color: inherit;
  text-decoration: none;
}
/*base*/
/*header*/
.header {
  width: 100%;
  height: 110px;
  padding: 20px 50px;
  background-color: #f36e2a;
  color: #fce0d0;
}
.logo {
  float: left;
  background: url("../images/logo.png") no-repeat;
  a {
    display: block;
    width: 370px;
    height: 70px;
  }
}
.nav-top {
  float: right;
  padding: 5px 0;
  text-align: center;
  line-height: 60px;
  font-size: 18px;
  li {
    width: 120px;
    height: 60px;
    float: left;
    margin-left: 40px;
    a{
      display: inline-block;
      width: 100%;
      height: 100%;
    }
    &.active {
      border: 2px solid #fff;
      a {
        color: #fefefe;
      }
    }
  }
}
.user {
  float: right;
  margin-left: 80px;
  padding: 18px 0;
  i, span {
    vertical-align: middle;
  }
  i {
    font-size: 34px;
  }
}
@media (max-width: 1650px) {
  .user {
    margin-left: 0;
  }

  .nav-top li {
    margin-left: 0;
  }
}
/*header*/
/*内容区域*/
.content{
  width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
}
/*家庭管理导航|*/
.header-home {
  width: 100%;
  height: 60px;
  background-color: #ff874a;
  color: #fce0d0;
  text-align: center;
}
.nav-home {
  display: inline-block;
  li {
    float: left;
    width: 120px;
    height: 60px;
    margin: 0 20px;
    line-height: 60px;
    &.active {
      border-bottom: 6px solid #fff6f2;
      a {
        color: #fefefe;
      }
    }
  }
}
/*家庭管理导航*/
/*h2用作title*/
h2{
  float: left;
  padding-left: 20px;
  font-size: 18px;
  color: #f36e2a;
  font-weight: bold;
  line-height: 40px;
}
/*列表title长按钮*/
.btn-wider{
  float: right;
  width: 180px;
  height: 40px;
  background-color: #f36e2a;
  border: none;
  font-size: 16px;
  color: #fff;
  overflow: hidden;
  &:hover{
    cursor: pointer;
  }
  i{
    vertical-align: middle;
  }
  .icon-huojian{
    font-size: 30px;
  }
  .icon-tianjia{
    font-size: 20px;
    margin-right: 6px;
    vertical-align: baseline;
  }
  span{
    vertical-align: middle;
  }
}
/*设备列表*/
.device-list{
  width: 100%;
  margin-top: 8px;
  border: 1px solid #ddd;
}
/*设备列表项*/
.device-list-item{
  height: 100px;
  padding: 20px 40px;
  &:nth-child(even){
    background-color: #f7f7f7;
  }
}
/*设备基本信息*/
.device{
  float: left;
  height: 100%;
  i{
    font-size: 60px;
    color: #595c6f;
    vertical-align: middle;
  }
  .device-info{
    display: inline-block;
    padding-left: 10px;
    vertical-align: middle;
    height: 100%;
  }
  p{
    height: 30px;
    display: table;
    span{
      display: table-cell;
      vertical-align: middle;
    }
  }
  .device-name{
    color: #505050;
  }
  .device-ip{
    font-size: 14px;
    color: #808080;
  }
}
/*设备网络信息*/
.net-info{
  float: left;
  height: 100%;
  p{
    height: 30px;
    display: table;
    span{
      display: table-cell;
      vertical-align: middle;
    }
  }
  .net-linktime{
    color: #505050;
  }
  .net-byte{
    font-size: 14px;
    color: #808080;
  }
}
/*设备模板*/
.net-module{
  float: left;
  height: 100%;
  font-size: 14px;
  p{
    height: 30px;
    display: table;
    span{
      display: table-cell;
      vertical-align: middle;
    }
  }
  .use-module{
    color: #808080;
  }
  .name-module{
    color: #505050;
  }
}
/*设备模板生效时间*/
.module-active{
  float: left;
  height: 100%;
  font-size: 14px;
  p{
    height: 30px;
    display: table;
    span{
      display: table-cell;
      vertical-align: middle;
    }
  }
  .module-active-title{
    color: #808080;
  }
  .time-module{
    color: #505050;
  }
}
/*设备操作*/
.list-operate{
  float: left;
  height: 100%;
  text-align: right;
  .operates{
    display: inline-block;
    height: 100%;
  }
  li{
    display: inline-block;
    height: 100%;
    margin-left: 40px;
  }
  p{
    height: 30px;
    text-align: center;
  }
  i{
    line-height: 30px;
    cursor: pointer;
  }
  .opt-speedup i{
    font-size: 54px;
    color: #17c07e;
  }
  /*未提速按钮*/
  .icon-kaiguan-open.off:before{
    display: block;
    color: #595c6f;
    line-height: 24px;
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
  }
  .opt-black{
    position: relative;
    i{
      font-size: 26px;
      color: #d6544d;
    }
  }
  .opt-rename{
    position: relative;
    i{
      font-size: 28px;
      color: #78c28c;
    }
  }
  .opt-unlock{
    position: relative;
    i{
      font-size: 28px;
      color: #ff874a;
    }
  }
  .opt-ctrl i{
    font-size: 28px;
    color: #ff874a;
  }
  .opt-detail i{
    font-size: 26px;
    color: #5da4da;
  }
  .text-operate{
    line-height: 30px;
    font-size: 12px;
    color: #808080;
  }
}
/*表单按钮*/
.form-control{
  text-align: center;
  input[type='button'],input[type='submit'] {
    width: 100px;
    height: 40px;
    margin: 0 25px;
    background-color: #f36e2a;
    border: none;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
  }
}
/*弹框*/
.toast{
  position: absolute;
  width: 390px;
  height: 210px;
  left: -164px;
  text-align: center;
  background: #fff;
  z-index: 10;
  -moz-box-shadow:0 0 5px #333333;
  -webkit-box-shadow:0 0 5px #333333;
  box-shadow:0 0 5px #333333;
  &:before{
    content: "";
    display: block;
    width: 26px;
    height: 20px;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 10px solid #f36e2a;
    position: absolute;
    top:-20px;
    left: 180px;
  }
  h3{
    height: 50px;
    line-height: 50px;
    background-color: #f36e2a;
    font-size: 18px;
    color: #fff;
    font-weight: 300;
  }
  input[type="text"]{
    width: 260px;
    height: 40px;
    margin-top: 26px;
    color: #505050;
  }
  .toast-body{
    height: 100px;
    color: #505050;
  }
  p{
    height: 100px;
    line-height: 100px;
  }
  span{
    display: inline-block;
    width: 260px;
    font-size: 10px;
    color: #909090;
    text-align: right;
  }
}
.opt-rename .toast {
  left: -174px;
}